﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace IMark.DAO
{
    public class ChiTietHDModels
    {
        public static List<CHI_TIET_HD> GetByOrderID(long ID)
        {
            using(var context = new EMartEntities())
            {
                return context.CHI_TIET_HD.Include("SAN_PHAM").Where(u => u.MaHD == ID).ToList();
            }
        }
    }
}